<?php

Solar::loadClass('Solar_Content_Abstract');

class Domain51_Content_Blog extends Solar_Content_Abstract
{
    protected $_type = 'blog';
    
    protected $_form = array(
        'id', 
        'uri',
        'subj', 
        'summ',
        'body',
        'tags',
    );
    
    public function form($data = null) {
        $form = parent::form($data);
        
        $form->elements['blog[uri]']['attribs']['size'] = 60;
        
        $form->elements['blog[subj]']['attribs']['size'] = 60;
        
        $form->elements['blog[summ]']['attribs']['rows'] = 10;
        $form->elements['blog[summ]']['attribs']['cols'] = 60;
        $form->elements['blog[summ]']['attribs']['class'] = 'convert_this';
        
        return $form;
    }
}

?>
